<?php
	function day_now()
	{
		date_default_timezone_set('Asia/Ho_Chi_Minh');		
		$now = getdate();
		$day = $now['year']."-".$now['mon']."-".$now['mday']." ".$now['hours'].":".$now['minutes'].":".$now['seconds'];
		return $day;
	}

?>